export const constanRoute = [
  {
    // 初始页重定向
    path: '/',
    redirect: '/login',
    meta: {
      title: 'redirect',
      hidden: true
    }
  },
  {
    // 登录
    path: '/login',
    component: () => import('~/components/Login/Login.vue'),
    name: 'login',
    meta: {
      title: '登录',
      hidden: false
    }
  },
  {
    path: '/password',
    component: () => import('~/components/Login/Password.vue'),
    name: '修改密码',
    meta: {
      title: '修改密码'
    }
  },
  {
    // 首页
    path: '/index',
    component: () => import('~/layout/Layout.vue'),
    name: 'index',
    meta: {
      title: 'index',
      hidden: false
    },
    children: [
      {
        path: '/home',
        component: () => import('~/components/Monitor/Monitor.vue'),
        meta: {
          title: '首页',
          hidden: false,
          icon: 'View'
        }
      },
      {
        path: '/vulnscan',
        component: () => import('~/views/VulnManage/vulnScan.vue'),
        name: '漏洞扫描',
        meta: {
          title: '漏洞扫描',
          hidden: false
        }
      },
      {
        path: '/scanresult',
        component: () => import('~/views/VulnManage/scanResult.vue'),
        name: '扫描结果',
        meta: {
          title: '扫描结果',
          hidden: false
        }
      },
      {
        path: '/vulnso',
        component: () => import('~/views/VulnManage/vulnList.vue'),
        name: '漏洞检索',
        meta: {
          title: '漏洞检索'
        }
      },
      {
        path: '/vulnupload',
        component: () => import('~/views/VulnManage/vulnUpload.vue'),
        name: '漏洞模板',
        meta: {
          title: '漏洞模板'
        }
      },
      {
        path: '/tempdetail',
        component: () => import('~/views/VulnManage/tempDetail.vue'),
        name: '模板详情',
        meta: {
          title: '模板详情'
        }
      },
      {
        path: '/logset',
        component: () => import('~/components/LogManagement/LogSetup/LogSetup.vue'),
        name: '日志设置',
        meta: {
          title: '日志设置'
        }
      },
      {
        path: '/myAccount',
        component: () => import('~/components/MyAccount/MyAccount.vue'),
        name: '我的账户',
        meta: {
          title: '我的账户'
        }
      },
      {
        path: '/systemuser',
        component: () => import('~/components/UserManagement/SystemUser/SystemUser.vue'),
        name: '用户管理',
        meta: {
          title: '用户管理'
        }
      },
      {
        path: '/terminaluser',
        component: () => import('~/components/UserManagement/TerminalUser/TerminalUser.vue'),
        name: '终端用户管理',
        meta: {
          title: '终端用户管理'
        }
      },
      {
        path: '/authuser',
        component: () => import('~/components/UserManagement/TerminalAuthentication/TerminalAuthentication.vue'),
        name: '终端鉴权',
        meta: {
          title: '终端鉴权'
        }
      },
      {
        path: '/authunload',
        component: () => import('~/components/UserManagement/TerminalAuthUnload/TerminalAuthUnload.vue'),
        name: '终端卸载密码',
        meta: {
          title: '终端卸载密码'
        }
      },
      {
        path: '/productupgrade',
        component: () => import('~/components/Setting/SystemUpgrade.vue'),
        name: '授权升级',
        meta: {
          title: '授权升级'
        }
      },
      {
        path: '/syslogtools',
        // component: () => import('~/components/Setting/Syslogtools.vue'),
        component: () => import('~/views/Editor/RichTextEditor.vue'),
        name: '系统工具',
        meta: {
          title: '系统工具'
        }
      },
      {
        path: '/syslogsetting',
        component: () => import('~/components/Setting/Syslogsetting.vue'),
        name: 'syslog转发设置',
        meta: {
          title: 'syslog转发设置'
        }
      },
      {
        path: '/systemupgrade',
        component: () => import('~/components/Setting/Systemupdate.vue'),
        name: '系统升级',
        meta: {
          title: '系统升级'
        }
      },
      {
        path: '/host',
        component: () => import('~/components/StrategyManagement/HostHardening/components/secureBaseline.vue'),
        name: '安全基线',
        meta: {
          title: '安全基线'
        }
      },
      {
        path: '/registry',
        component: () => import('~/components/StrategyManagement/RegistryGuard/RegistryGuard.vue'),
        name: '注册表防护',
        meta: {
          title: '注册表防护'
        }
      },
      {
        path: '/network',
        component: () => import('~/components/StrategyManagement/NetworkWhitelist/index.vue'),
        name: '网络白名单',
        meta: {
          title: '网络白名单'
        }
      },
      {
        path: '/file',
        component: () => import('~/components/StrategyManagement/FileProtection/FileProtection.vue'),
        name: '文件防护',
        meta: {
          title: '文件防护'
        }
      },
      {
        path: '/outreach',
        component: () => import('~/components/Outreach/Outreach.vue'),
        name: '非法外联',
        meta: {
          title: '非法外联',
          hidden: false
        }
      },
      {
        path: '/auditlog',
        component: () => import('~/components/LogManagement/AuditLog/AuditLog.vue'),
        name: '安全事件',
        meta: {
          title: '安全事件',
          hidden: false
        }
      },
      {
        path: '/logstatistics',
        component: () => import('~/components/LogManagement/EventAnalysis/EventAnalysis.vue'),
        name: '事件分析',
        meta: {
          title: '事件分析',
          hidden: false
        }
      },
      {
        path: '/terminalupdate',
        component: () => import('~/components/VersionManage/TerminalUpgrade/VersionManage.vue'),
        name: '终端升级',
        meta: {
          title: '终端升级',
          hidden: false
        }
      },
      {
        path: '/terminalversion',
        component: () => import('~/components/VersionManage/TerminalVersion/TerminalVersion.vue'),
        name: '终端版本',
        meta: {
          title: '终端版本',
          hidden: false
        }
      },
      {
        path: '/systemsetting',
        component: () => import('~/components/Setting/BasicSettings.vue'),
        name: '基本设置',
        meta: {
          title: '基本设置',
          hidden: false
        }
      },
      {
        path: '/operationlog',
        component: () => import('~/components/LogManagement/OperationLog/OperationLogs.vue'),
        name: '操作日志',
        meta: {
          title: '操作日志',
          hidden: false
        }
      },
      {
        path: '/syslog',
        component: () => import('~/components/LogManagement/SystemLog/SystemLog.vue'),
        name: '系统日志',
        meta: {
          title: '系统日志',
          hidden: false
        }
      },
      {
        path: '/serverstrategy',
        component: () => import('~/components/GlobalStrategy/ServerStrategy/ServerStrategy.vue'),
        name: '服务端策略',
        meta: {
          title: '服务端策略',
          hidden: false
        }
      },
      {
        path: '/categorystrategy',
        component: () => import('~/components/GlobalStrategy/GroupStrategy/GroupStrategy.vue'),
        name: '组策略',
        meta: {
          title: '组策略',
          hidden: false
        }
      },
      {
        path: '/strategybackup',
        component: () => import('~/components/GlobalStrategy/StrategyBackup/StrategyBackup.vue'),
        name: '策略备份',
        meta: {
          title: '策略备份',
          hidden: false
        }
      },
      {
        path: '/completerule',
        component: () => import('~/components/StrategyManagement/CompleteRule/CompleteRule.vue'),
        name: '完整性检查',
        meta: {
          title: '完整性检查',
          hidden: false
        }
      },
      {
        path: '/accesscontrol',
        component: () => import('~/components/StrategyManagement/AccessControl/AccessControl.vue'),
        name: '强访问控制',
        meta: {
          title: '强访问控制',
          hidden: false
        }
      }
    ]
  }
]
// View, Operation, Connection, Lock, Umbrella, Aim, Files, SetUp, DataLine,
